TimePunch Mailing Service
The TimePunch contains all DTOs needed to send emails mailing service. These include in particular the addresses of DTOs.
PlainMailAddressDto
This class is used for mail recipients that are not associated with any user profile in TimePunch.
Datatype | Name | Description |
---|---|---|
MailAddressType | MailAddressType | Defines the address type (From, Sender, To, CC, Bcc). |
String | MailAddress | Mail Address |
String | DisplayName | Display name of the mail receiver/sender |
UserMailAddressDto
This class is used for all mail recipients that can be mapped to a user profile in TimePunch.
Datatype | Name | Description |
---|---|---|
MailAddressType | MailAddressType | Defines the address type (From, Sender, To, CC, Bcc). |
Guid | UserId | Id of the TimePunch User Profile. |
MailAttachementDto
This class contains all the data of an attachment that can be sent by the TimePunch mailing service.
Datatype | Name | Description |
---|---|---|
String | FileName | File name of the attachement. |
Byte[] | Content | Content of the attachement to send. |
String | MimeType | Mime Type of the attachement |